package cn.tedu._04weibo.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
public class UserRegParam {
//    @ApiModelProperty(value = "用户编号",required = true)
//    private Long Id;
    @NotNull(message="用户名不能为空")
    @ApiModelProperty(value = "用户姓名",required = true)
    private String username;
    @ApiModelProperty(value = "用户密码",required = true)
    private String password;
    @ApiModelProperty(value = "用户昵称",required = true)
    private String nickname;


}
